package com.framework.Module.jxc.jxcstock;

import com.framework.Table.Table;
import com.framerock.baselib.Rock;


public class Tablejxcstock extends Table {

 

    protected void initTable() {
        this.tablename   = "jxcstock";
        this.tablenamesm = "仓库管理";

        this.flowsetMap  = Rock.getMap(new String[]{
                "type", "进销存",
                "sort", "51",
                "isxt", "2",
                "summary", "{name}",
                "imgurl","https://xinhu-1251238447.file.myqcloud.com/img/home.png",
                "istj","1"
        });
        this.addfields("name", "varchar(100)", "", "名称", new String[]{
                "isbt","1",
                "isss","1",
                "isalign","1"
        });
        this.addfields("address", "varchar(50)", "", "仓库地址", new String[]{
                "isss","1",
        });
        this.addfields("cgname", "varchar(100)", "", "仓管员@cgid@仓库的管理员", new String[]{
                "isss","1",
                "fieldstype","changeusercheck",
        });
        this.addfields("cgid", "varchar(100)", "", "仓管员ID", new String[]{
                "islu","0",
                "islb","0",
        });
        this.addfields("cid", "int(11)", "0", "对应单位", new String[]{
                "islu","0",
                "notelement","1"
        });
        this.addfields("explain", "varchar(500)", "", "说明", new String[]{
                "isalign","1",
                "fieldstype","textarea"
        });
        this.addfields("sort", "int(11)", "0", "排序号", new String[]{
                "ispx","1",
                "iseditlx","2"
        });
        this.addfields("cid", "KEY", "`cid`", "单位ID");


    }

}
